﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace snat.algorithms.network.TFIDF {
    public class Term : IComparable {

        public int AppearenceCount { get; set; }
        public double IDF { get; set; }
        public String word;

        public Term(String word) {
            AppearenceCount = 0;
            this.word = word;
        }


        public int CompareTo(object obj) {
            return (obj as Term).word.CompareTo(word);
        }
    }
}
